home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / annot.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-02-07  |  6.9 KB  |  318 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef ANNOT_H
  8. #define ANNOT_H
  9.  
  10. #include <QDialog>
  11. class QHBoxLayout;
  12. class QGridLayout;
  13. class QVBoxLayout;
  14. class QStackedWidget;
  15. class QGroupBox;
  16. class QTextEdit;
  17. class QLabel;
  18. class QFrame;
  19. class QComboBox;
  20. class QLineEdit;
  21. class QCheckBox;
  22. class QPushButton;
  23. class QSpinBox;
  24. class QTabWidget;
  25. class QWidget;
  26. class QRadioButton;
  27.  
  28. #include "scribusapi.h"
  29. #include "sccolor.h"
  30.  
  31. class PageItem;
  32. class Navigator;
  33. class ColorCombo;
  34. class ScribusView;
  35. class PrefsContext;
  36.  
  37. class SCRIBUS_API Annot : public QDialog
  38. {
  39.     Q_OBJECT
  40.  
  41. public:
  42.     Annot ( QWidget* parent, PageItem *it, int Seite, int b, int h, ColorList Farben, ScribusView* vie );
  43.     ~Annot();
  44.     void DecodeNum();
  45.     void DecodeVali();
  46.     void DecodeCalc();
  47.     QStackedWidget* Fram;
  48.     QStackedWidget* Fram2;
  49.     QStackedWidget* FramOp;
  50.     QStackedWidget* FoFram;
  51.     QLabel* TextLabel1;
  52.     QComboBox* ComboBox1;
  53.     QLabel* TextVa;
  54.     QFrame* Frame9;
  55.     QComboBox* ActionCombo;
  56.     QFrame* Frame3;
  57.     QFrame* Frame4;
  58.     QFrame* Frame4a;
  59.     QLabel* TextLabel4a;
  60.     QLineEdit *Name;
  61.     QLabel* TextLabel4b;
  62.     QLineEdit *Tip;
  63.     QLabel* AcText1;
  64.     QLabel* AcText2;
  65.     QComboBox* SelAction;
  66.     QTextEdit* EditJava;
  67.     QGroupBox* GroupBox11;
  68.     QLabel* TextLabel31;
  69.     QLabel* TextLabel41;
  70.     QLabel* TextLabel51;
  71.     QCheckBox* LExtern;
  72.     QLineEdit* Destfile;
  73.     QPushButton* ChFile;
  74.     QCheckBox* useAbsolute;
  75.     Navigator* Pg1;
  76.     QSpinBox* SpinBox11;
  77.     QSpinBox* SpinBox21;
  78.     QSpinBox* SpinBox31;
  79.     QGroupBox* GroupBox10;
  80.     QLabel* TextLabel20;
  81.     QLabel* TextLabel30;
  82.     QTabWidget* TabWidget2;
  83.     QWidget* tab;
  84.     QGroupBox* GroupBox40;
  85.     QComboBox* Schrift;
  86.     QLabel* TextLabel60;
  87.     QLabel* CheckBox30;
  88.     QLabel* CheckBox40;
  89.     QLineEdit* DownT;
  90.     QLineEdit* TextO;
  91.     QGroupBox* GroupBox30;
  92.     QCheckBox* ReadOnly;
  93.     QCheckBox* Required;
  94.     QCheckBox* NoExport;
  95.     QLabel* TextLabel8_2;
  96.     QComboBox* ComboBox7_2;
  97.     QLabel* TextLabel90;
  98.     QComboBox* Visib;
  99.     QGroupBox* GroupBox20;
  100.     ColorCombo* BorderC;
  101.     QLabel* TextLabel40a;
  102.     QComboBox* BorderW;
  103.     QLabel* TextLabel40;
  104.     QLabel* TextLabel50;
  105.     QComboBox* BorderS;
  106.     QWidget* tab_2;
  107.     QLabel* TextLabel70;
  108.     QWidget* tab_3;
  109.     QGroupBox* GroupBox40a;
  110.     QGroupBox* GroupBox30a;
  111.     QGroupBox* OptTextFeld;
  112.     QCheckBox* MultiL;
  113.     QCheckBox* Passwd;
  114.     QCheckBox* Limit;
  115.     QSpinBox* MaxChars;
  116.     QCheckBox* NoScroll;
  117.     QCheckBox* NoSpell;
  118.     QLabel* TextLabel2_2;
  119.     QGroupBox* OptCheck;
  120.     QLabel* CText1;
  121.     QComboBox* ChkStil;
  122.     QCheckBox* isChkd;
  123.     QGroupBox* OptCombo;
  124.     QCheckBox* CanEdit;
  125.     QWidget* tab4;
  126.     QLabel* TextForm1;
  127.     QComboBox* TxFormat;
  128.     QGroupBox* GroupCust;
  129.     QLabel* TextForm2;
  130.     QPushButton* EditFormat;
  131.     QTextEdit* FormatScript;
  132.     QLabel* TextForm3;
  133.     QPushButton* EditKeystr;
  134.     QTextEdit* KeyScript;
  135.     QFrame* FoFrameNone;
  136.     QGroupBox* NumbGroup;
  137.     QLabel* TextNu1;
  138.     QSpinBox* Decim;
  139.     QCheckBox* UseCurr;
  140.     QLineEdit* CurSym;
  141.     QCheckBox* PreCurr;
  142.     QGroupBox* NumGroup2;
  143.     QRadioButton* Format0;
  144.     QRadioButton* Format1;
  145.     QRadioButton* Format2;
  146.     QRadioButton* Format3;
  147.     QGroupBox* PercGroup;
  148.     QLabel* TextNu1a;
  149.     QSpinBox* Decim2;
  150.     QGroupBox* NumGroup2a;
  151.     QRadioButton* Format0a;
  152.     QRadioButton* Format1a;
  153.     QRadioButton* Format2a;
  154.     QRadioButton* Format3a;
  155.     QGroupBox* TimeGroup;
  156.     QRadioButton* Format0b;
  157.     QRadioButton* Format1b;
  158.     QRadioButton* Format2b;
  159.     QRadioButton* Format3b;
  160.     QGroupBox* DateGroup;
  161.     QComboBox* Format0c;
  162.     QLabel* TextDa1;
  163.     QWidget* tab_4;
  164.     QGroupBox* ValidateGroup;
  165.     QRadioButton* NoValid;
  166.     QRadioButton* SimpleValid;
  167.     QLineEdit* MinValid;
  168.     QLineEdit* MaxValid;
  169.     QRadioButton* CustomValid;
  170.     QTextEdit* ValidScript;
  171.     QPushButton* EditValScript;
  172.     QWidget* tab_5;
  173.     QGroupBox* CalcGroup;
  174.     QRadioButton* NoCalc;
  175.     QRadioButton* SimpleCalc;
  176.     QComboBox* CalcArt;
  177.     QLabel* TextLabel1_2;
  178.     QLineEdit* CalcFields;
  179.     QRadioButton* CustomCalc;
  180.     QTextEdit* CalcScript;
  181.     QPushButton* EditCalc;
  182.     QPushButton* EditJ;
  183.     QPushButton* SeField;
  184.     QFrame* Frame3b;
  185.     QLabel* SubText1;
  186.     QLineEdit* SubURL;
  187. //    QCheckBox* SubAsHtml;
  188.     QLabel* SubText2;
  189.     QComboBox* SelAsHtml;
  190.     QFrame* Frame3c;
  191.     QLabel* SubText1a;
  192.     QLineEdit* SubURLa;
  193.     QGroupBox* OptIcons;
  194.     QCheckBox* UseIcons;
  195.     QPushButton* IconN;
  196.     QLabel* NiconPrev;
  197.     QPushButton* IconP;
  198.     QLabel* PiconPrev;
  199.     QPushButton* IconR;
  200.     QLabel* RiconPrev;
  201.     QPushButton* IconNR;
  202.     QPushButton* IconPR;
  203.     QPushButton* IconRR;
  204.     QPushButton* PlaceIcon;
  205.     QPushButton* PushButton1;
  206.     QPushButton* PushButton2;
  207.     PageItem* item;
  208.     ScribusView* view;
  209.     int Breite;
  210.     int Hoehe;
  211.     int OriBreite;
  212.     int OriHoehe;
  213.     int ScrEdited;
  214.     int FormNum;
  215.     QString JavaScr;
  216.     int MaxSeite;
  217.     QString OldName;
  218.  
  219. public slots:
  220.     void NewName();
  221.     void IPlace();
  222.     void RemoveNIcon();
  223.     void RemovePIcon();
  224.     void RemoveRIcon();
  225.     void IconsEin();
  226.     void GetNIcon();
  227.     void GetPIcon();
  228.     void GetRIcon();
  229.     void SelectFelder();
  230.     void editKeySc();
  231.     void editFormatSc();
  232.     void editValidSc();
  233.     void editCalcSc();
  234.     void editJavaSc();
  235.     void SetFormNum();
  236.     void SetCurr();
  237.     void HandleVali();
  238.     void SetVali();
  239.     void HandleCalc();
  240.     void SetCalc();
  241.     void SetFoScript ( int it );
  242.     void SetCo ( qreal x, qreal y );
  243.     void SetPg ( int v );
  244.     void SetCross();
  245.     void SetVals();
  246.     void SetZiel ( int i );
  247.     void GetFile();
  248.     void SetActTyp ( int it );
  249.     void SetLimit();
  250.     void SetActScript ( int it );
  251.     void setDateSample ( const QString& ds );
  252.     void SetExternL();
  253.  
  254. protected:
  255.     QVBoxLayout* AnnotLayout;
  256.     QHBoxLayout* Layout1;
  257.     QHBoxLayout* Layout1_2;
  258.     QGridLayout* GroupBox11Layout;
  259.     QVBoxLayout* Frame3Layout;
  260.     QVBoxLayout* Frame3bLayout;
  261.     QVBoxLayout* Frame3cLayout;
  262.     QVBoxLayout* GroupBox10Layout;
  263.     QGridLayout* Layout60;
  264.     QVBoxLayout* tabLayout;
  265.     QHBoxLayout* Layout10;
  266.     QGridLayout* GroupBox40Layout;
  267.     QGridLayout* GroupBox30Layout;
  268.     QGridLayout* GroupBox20Layout;
  269.     QVBoxLayout* tabLayout_2;
  270.     QHBoxLayout* Layout20;
  271.     QVBoxLayout* tabLayout_3;
  272.     QGridLayout* GroupBox40aLayout;
  273.     QGridLayout* GroupBox30aLayout;
  274.     QGridLayout* Frame4aLayout;
  275.     QVBoxLayout* OptTextFeldLayout;
  276.     QHBoxLayout* Layout7;
  277.     QHBoxLayout* Layout71;
  278.     QHBoxLayout* Layout8;
  279.     QVBoxLayout* OptCheckLayout;
  280.     QHBoxLayout* ChkLayout;
  281.     QVBoxLayout* OptComboLayout;
  282.     QVBoxLayout* Layout;
  283.     QHBoxLayout* FLayout;
  284.     QVBoxLayout* GroupCustLayout;
  285.     QVBoxLayout* FLayout3;
  286.     QHBoxLayout* FLayout2;
  287.     QVBoxLayout* FLayout5;
  288.     QHBoxLayout* FLayout4;
  289.     QVBoxLayout* NumbGroupLayout;
  290.     QHBoxLayout* LayoutFN1;
  291.     QHBoxLayout* LayoutFN2;
  292.     QGridLayout* NumGroup2Layout;
  293.     QVBoxLayout* PercGroupLayout;
  294.     QHBoxLayout* LayoutFN1a;
  295.     QGridLayout* NumGroup2aLayout;
  296.     QVBoxLayout* TimeGroupLayout;
  297.     QVBoxLayout* DateGroupLayout;
  298.     QHBoxLayout* LayoutFN1c;
  299.     QVBoxLayout* tabLayout_4;
  300.     QVBoxLayout* ValidateGroupLayout;
  301.     QGridLayout* VLayout1;
  302.     QHBoxLayout* VLayout2;
  303.     QVBoxLayout* tabLayout_5;
  304.     QVBoxLayout* CalcGroupLayout;
  305.     QHBoxLayout* CLayout1;
  306.     QHBoxLayout* CLayout2;
  307.     QHBoxLayout* CLayout3;
  308.     QHBoxLayout* Layout18;
  309.     QVBoxLayout* OptIconsLayout;
  310.     QHBoxLayout* Layout17;
  311.     QGridLayout* Layout14;
  312.     QGridLayout* Layout15;
  313.     QGridLayout* Layout16;
  314.     PrefsContext* dirs;
  315. };
  316.  
  317. #endif // ANNOT_H
  318.